export const plugins = [
  ['umi-plugin-react', {
    antd: true,
    dva: {
      hmr: true,
    },
    dynamicImport: false,
    locale: {
      enable: true,
      default: 'zh-CN',
      baseNavigator: true,
    },
    dll: false,
    routes: false,
    library: 'react',
    // dll: {
    //   include: ['dva', 'dva/router', 'dva/saga', 'dva/fetch'],
    //   exclude: ['@babel/runtime'],
    // },
    hardSource: process.platform === 'darwin',
    fastClick: true,
  }],
];

